Conversation
Benchmark Results (Julia v1.10)Time benchmarks
Memory benchmarks
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
I fixed all the issues JET.jl v0.11 found apart from three:
|
You can report this as a sub-optimal result of JET.jl. From looking at the code, I do not see an obvious way how To fix this right now, the only option I see is to unpack |
Yes, JET.jl is not smart enough to realize that the first first |
|
Did you file an issue in their repo? They should know about false positives like this. |
No because this is the same as aviatesk/JET.jl#749. So the compiler cannot infer that in the second branch the variable is defined and we need to resort to workarounds. I am not a big fan of adding assertions in the branches as was also suggested in the issue above. So I think the only way to make JET.jl pass is using the workarounds we already found (unpacking |
ranocha
left a comment
There was a problem hiding this comment.
Thanks! This looks good to me so far. We need to finalize your PR to TrixiBase.jl and release a new version.
ranocha
left a comment
There was a problem hiding this comment.
Feel free to trigger CI again when JuliaRegistries/General#141816 is merged and merge this PR if tests pass. Thanks!
See #246 (comment).
Trying this locally gave a lot of errors from JET.jl, but they looked real. So let's see what CI says.